#ifndef OXFORDCUSTOMLIST_H
#define OXFORDCUSTOMLIST_H

#include <QStringList>
#include "oxford-word-list.h"
#include "database-manager.h"

namespace Oxford
{

class CustomList : public WordList
{
private:
    Core::DatabaseManager* databaseManager;

    QString _listName;
    QString _listDescription;
public:
    CustomList(const QString& listName, const QString& listDescription, const QStringList& wordList);
    ~CustomList();

    virtual QString name() const;
    virtual QString description() const;

    virtual QString getRandomWord();
    virtual QStringList getList();

    virtual void update(const QStringList& words = QStringList());
};

}

#endif // OXFORDCUSTOMLIST_H
